package it.slothy.noveleditor.classes.variables;

import it.slothy.noveleditor.classes.instance.Period;

import java.io.File;
import java.util.HashMap;

public class Background {
	
	//private ArrayList<BgState> bgStates;
	private HashMap<Period, File> bgStates;
	
	public Background(Period n){
		this.bgStates = new HashMap<Period, File>();
	}
	
	//State
	public void addState(Period k, File s){
		this.bgStates.put(k, s);
	}
	
	public File getState(Period s) {
		return this.bgStates.get(s);
	}
	
	public void removeState(Period s) {
		this.bgStates.remove(s);
	}

}
